#include <iostream>
#include "ErrorNoGen.h"
static void printHelpInfo(const char* binName) 
{
    std::cout << "usage: " << binName << " -f <filename>" << std::endl;
}
int main(int argc, char** argv) {
    if (argc < 3) {
        printHelpInfo(argv[0]);
        return -1;
    }
    std::string opMode = argv[1];
    std::string fileName = argv[2];
    if ("-f" == opMode) {
        ErrorNoGen errFile;
        errFile.genFiles(fileName);
    } else {
        std::cout << "unrecognized opMode = [" << opMode << "]" << std::endl;
    }
    return 0;
}